package com.lse_api.service.impl;

import com.lse_api.entity.GroupList;
import com.lse_api.mapper.GroupListMapper;
import com.lse_api.service.GroupListService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 项目组 服务实现类
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
@Service
public class GroupListServiceImpl extends ServiceImpl<GroupListMapper, GroupList> implements GroupListService {

    @Resource
    private GroupListMapper mapper;

    @Override
    public List<GroupList> getGroupListByJoin(String userId) {
        return mapper.getGroupListByJoin(userId);
    }
}
